.PHONY:all
all:test_cgi mysql_cgi

test_cgi:testcgi.cc
	g++ -o $@ $^ -std=c++11

mysql_cgi:mysql_ctl.cc
	g++ -o $@ $^ -I include -L lib -lmysqlclient -std=c++11

.PHONY:clean
clean:
	rm -f test_cgi
	rm -f mysql_cgi
